from django.urls import path

from . import views

app_name = 'polls'
urlpatterns = [
    path('wjdc', views.IndexView.as_view(), name='index'),
    path('<int:pk>/', views.DetailView.as_view(), name='detail'),
    path('<int:pk>/results/', views.ResultsView.as_view(), name='results'),
    path('<int:question_id>/vote/', views.vote, name='vote'),
    # added the word 'specifics'
    path('specifics/<int:question_id>/', views.detail, name='detail'),
    path('index', views.index_V1),
    path('contact', views.contact),
    path('about', views.about),
    path('icons', views.icons),
    path('portfolio', views.portfolio),
    path('typography', views.typography),
]
